package com.topisv.tms.rest.entity.md.request;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;

/**
 * 美的路由信息查询接口报文
 *  Date          Author       Version       Description
 * ----------------------------------------------------------
 *  2015-1-7      CC            1.0           Create
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class RouteInfoRequestBody implements TransferBodyContent {

	@XmlElement(name = "carrier_code")
	private String carrierCode;
	@XmlElement(name = "express_no")
	private String expressNo;
	@XmlElement(name = "cust_ord_no")
	private String custOrdNo;
	@XmlElementWrapper(name = "traces")
	@XmlElement(name = "trace")
	private List<TraceDetail> traceDetails;

	public String getCarrierCode() {
		return carrierCode;
	}

	public void setCarrierCode(String carrierCode) {
		this.carrierCode = carrierCode;
	}

	public String getExpressNo() {
		return expressNo;
	}

	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}

	public String getCustOrdNo() {
		return custOrdNo;
	}

	public void setCustOrdNo(String custOrdNo) {
		this.custOrdNo = custOrdNo;
	}

	public List<TraceDetail> getTraceDetails() {
		return traceDetails;
	}

	public void setTraceDetails(List<TraceDetail> traceDetails) {
		this.traceDetails = traceDetails;
	}

	@Override
	public String getOrderType() {
		return null;
	}
}
